FROM openjdk:8-jdk-slim
WORKDIR /ruoyi-admin
COPY target/ruoyi-admin.jar ruoyi-admin.jar
EXPOSE 20001
ENTRYPOINT ["java", "-jar", "ruoyi-admin.jar"]